<template>
    <div class="header">
        订单信息确认
            <div
            @click="prev()"
            class="iconfont">&#xe624;</div>
    </div>
</template>

<script>
export default {
    name: 'OrderHeader',
    methods: {
        prev () {
            // 返回上一页
            this.$router.back(-1)
        }
    }
}
</script>

<style lang="stylus" scoped>
    @import '~styles/varibles.styl'
    .header
        position relative
        overflow hidden
        height $headerHeight
        line-height $headerHeight
        text-align center
        color #fff
        background-color $bgColor
        font-size .32rem
        .iconfont
            position absolute
            top 0
            left 0
            width .64rem
            font-size .4rem
            text-align center
            margin-left .1rem
            color #fff
</style>
